<?php
namespace app\front\controller\v2;

use app\front\controller\v2\BaseController;

class CallBackController extends BaseController
{
    public function Notify(){
        $out_trade_no= $this->getGzhCallBackService()->Notify();
    }
    
  
    public function AliNotify(){
        $this->getAliCallBackService()->AliNotify();
    }
    
    public function AliReturn(){
        $xmlData = input('param.');
       print_r($xmlData);
    }
  
    
    public function insertOrder(){
        if(config('version')=='v2'){
            $this->getOrderService()->insertOrder();
        }
    }
    
    
    public function test($out_trade_no){
        $this->getOrderService()->test($out_trade_no);
    }
  
}

